C (296/301)

From:Volker Barthelmann
Date:01 Aug 99 at 21:42:56
Subject:Re: VBCC and MUI

From: Volker Barthelmann <volker@vb.franken.de>

On Tue, 27 Jul 1999, Martyn Capewell wrote:

> > __saveds __asm ULONG MyDispatcher(register __a0 struct IClass *cl,register __a2 Object *obj,register __a1 Msg msg)
> warning 125 in line 186 of "Other:csource/mui/Class1.c": no declaration-specifier, used int

This is SAS specific code. Try to insert the following code in some header
file:

#define __asm
#define __a0 __reg("a0")
...
#define __a7 __reg("a7")
#define __d0 __reg("d0")
...
#define __d7 __reg("d7")

Volker